//
//  GHPhotoCell.m
//  collectionView实现瀑布流
//
//  Created by keisun on 2018/7/27.
//  Copyright © 2018年 Hello Cai. All rights reserved.
//

#import "GHPhotoCell.h"

@interface GHPhotoCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@end

@implementation GHPhotoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    self.imageView.layer.borderWidth = 10;
    self.imageView.layer.borderColor = [UIColor whiteColor].CGColor;
}

-(void)setImageName:(NSString *)imageName{
    _imageName = imageName;
    self.imageView.image = [UIImage imageNamed:imageName];
}

@end
